package com.ruoyi.applet.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Arrays;

/**
 * 小程序首页轮播图对象 mini_slideshow
 *
 * @author liucan
 * @date 2024-03-23
 */

@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class MiniSlideshow implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 轮播图id
     */
    private Long id;

    /**
     * 轮播图名称
     */
    @Excel(name = "轮播图名称")
    private String slName;

    /**
     * 轮播图路径
     */
    @Excel(name = "轮播图路径")
    private String slPic;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Long slOrder;

    /**
     * 显示 0显示 1隐藏
     */
    @Excel(name = "显示 0显示 1隐藏")
    private Integer slConceal;

    /**
     * 状态 0正常 1删除
     */
    @Excel(name = "状态 0正常 1删除")
    private Integer slStatus;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间")
    private String creationTime;

    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private String creationBy;

    /**
     * 所属小程序
     */
    @Excel(name = "所属小程序")
    private String toApplet;

    @TableField(exist = false)
    private String[] ids;//删除用到的存储id

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSlName() {
        return slName;
    }

    public void setSlName(String slName) {
        this.slName = slName;
    }

    public String getSlPic() {
        return slPic;
    }

    public void setSlPic(String slPic) {
        this.slPic = slPic;
    }

    public Long getSlOrder() {
        return slOrder;
    }

    public void setSlOrder(Long slOrder) {
        this.slOrder = slOrder;
    }

    public Integer getSlConceal() {
        return slConceal;
    }

    public void setSlConceal(Integer slConceal) {
        this.slConceal = slConceal;
    }

    public Integer getSlStatus() {
        return slStatus;
    }

    public void setSlStatus(Integer slStatus) {
        this.slStatus = slStatus;
    }

    public String getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(String creationTime) {
        this.creationTime = creationTime;
    }

    public String getCreationBy() {
        return creationBy;
    }

    public void setCreationBy(String creationBy) {
        this.creationBy = creationBy;
    }

    public String getToApplet() {
        return toApplet;
    }

    public void setToApplet(String toApplet) {
        this.toApplet = toApplet;
    }

    public String[] getIds() {
        return ids;
    }

    public void setIds(String[] ids) {
        this.ids = ids;
    }

    @Override
    public String toString() {
        return "MiniSlideshow{" +
                "id=" + id +
                ", slName='" + slName + '\'' +
                ", slPic='" + slPic + '\'' +
                ", slOrder=" + slOrder +
                ", slConceal=" + slConceal +
                ", slStatus=" + slStatus +
                ", creationTime='" + creationTime + '\'' +
                ", creationBy='" + creationBy + '\'' +
                ", toApplet='" + toApplet + '\'' +
                ", ids=" + Arrays.toString(ids) +
                '}';
    }
}
